#include "YaRRIncludes.h"


/************************************** Polite Request ***************************************
** I have put a lot of time and effort into YaRR. If you want to use some of the source     **
** please tell me. Anything used from YaRR must be open source, as is scripts.dll.          **
***************************************** Thank you *****************************************/


void *YaRRphp::Thread = 0;
CRITICAL_SECTION YaRRphp::Mutex;
Stacker<Player> YaRRphp::internPlayers;

/*
void YaRRphp::Start()
{
	DLOG;
	InitializeCriticalSection(&Mutex);

}

void YaRRphp::Stop()
{
	DLOG;

}

DWORD __stdcall YaRRphp::Worker(void *p)
{

	return 0;
}

void YaRRphp::Think()
{

	if(!Players)
	{
		return;
	}
	EnterCriticalSection(&Mutex);

	internPlayers.Clear();

	Player *p;
	Players->Reset();
	while(Players->Iterate(&p))
	{
		internPlayers.Push(*p);
	}

	LeaveCriticalSection(&Mutex);
}*/